import request from "../utils/request";

// 课程信息查询
export function listCourse(query) {
  return request({
    url: "/system/course/list",
    method: "get",
    params: query,
  });
}

// 团队成员查询
export function listMember(query) {
  return request({
    url: "/system/member/list",
    method: "get",
    params: query,
  });
}

// 研究查询
export function listResearch(query) {
  return request({
    url: "/system/research/list",
    method: "get",
    params: query,
  });
}

// 项目查询
export function listFunding(query) {
  return request({
    url: "/system/funding/list",
    method: "get",
    params: query,
  });
}

// 实验室动态右侧列表
export function listNews(query) {
  return request({
    url: "/system/list/list",
    method: "get",
    params: query,
  });
}

// 实验室动态左侧列表
export function listRotation(query) {
  return request({
    url: "/system/rotation/list",
    method: "get",
    params: query,
  });
}

// 轮播图里的视频
export function listRotationVedio(id) {
  return request({
    url: "/system/rotation/getVideo",
    method: "get",
    params: id,
  });
}

// 其他信息列表
export function listOtherInfo(query) {
  return request({
    url: "/system/info/list",
    method: "get",
    params: query,
  });
}

// 其他信息文件下载
export function listOtherInfoDownload(id) {
  return request({
    url: "/system/info/downloadFile",
    method: "get",
    params: id,
  });
}
